@charset "utf-8";

@import "common/common";



.swiper-slide img{
    width: 100%;
}
.swiper-button-prev {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 27px;
    height: 44px;
//      margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-image: url(../images/left.png);
    background-size: 25px 30px;
    background-position: center;
    background-repeat: no-repeat;
}
.swiper-button-next{
    position: absolute;
    top: 50%;
    right: 10%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-image: url(../images/right.png);
    background-size: 20px 25px;
    background-position: center;
    background-repeat: no-repeat;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #ffffff;
    background: none;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFFFFF;
}
    


section {
    .first_game{
        padding-top: 13px;
        .dingwei{
            position: relative;
        }
        h1{
            font-size: 30px;
            font-weight: bold;
            color: #2a2a2a;
        }
        p{
            line-height: 30px;
            text-indent: 2em;
            font-size: 12px;
            color: #898989;
        }
        .img_wrap{
            border-radius: 5px;
            overflow: hidden;
            img{
                width: 100%;
            }
        }
        .game_bg{
            background: url(../images/game_bg_02.png) no-repeat 20px;
        }
        .hot_wrap{
            width: 40px;
            height: 100px;
            position: absolute;
            left: 0;
            top: -13px;
            text-align: center;
            background: url(../images/hot-icon.png) no-repeat;
            &>p{
                font-size: 20px;
                color: #fff;
                width: 20px;
                margin: 24px auto 0 auto;    
                line-height: 24px;
                text-indent: 0;    
            }
        }
    }
    .sec_game{
        h1{
            font-size: 30px;
            font-weight: bold;
            color: #2a2a2a;
            margin-left: -15px;
        }
        p{
            line-height: 30px;
            font-size: 12px;
            color: #898989;
            margin-left: -15px;
        }
        .img_wrap{
            border-radius: 5px;
            overflow: hidden;
            margin-left: -15px;
            img{
                width: 100%;
            }
        }
        .game_bg{
            background: url(../images/game_bg_01.png) no-repeat 100% 90%;
        }
    }
    .more_examples{
        .title{
            &>p{
                font-size: 36px;
                color: #010101;
            }
        }
        .mo_img_wrap{
            height: 133px;
            position: relative;
            overflow: hidden;
            &:hover span{
                transform: translateX(0);
            }
            &:hover{
                opacity: 0.9;
            }
            img{
                height: 100%;
            }
            span{
                position: absolute;
                top: 0;
                right: 0;
                text-align: left;
                background-color: rgba(0,0,0,.5);
                height: 161px;
                width: 305px;
                overflow: hidden;
                text-overflow: ellipsis;
                transition: all .5s;
                transform: translateX(-100%);
                p{
                    margin: 14px;
                    color: #fff;
                    font-size: 12px;
                    line-height: 20px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
        }
        p{
            font-size: 14px;
            color: #2a2a2a;
        }
    }
}
.md90{
    margin-bottom: 90px;
}
.md30{
    margin-bottom: 30px;
}
.md12{
    margin-bottom: 12px;
}
.md40{
    margin-bottom: 40px;
}


@media (min-width: 768px) and (max-width: 991px){
    header{
        .swiper-button-prev{
            background: none;
        }
        .swiper-button-next{
            background: none;
        }
    }
    section{
        .first_game{
            .game_bg{
                background: url(../images/game_bg_02.png) no-repeat 0% 50%;
                background-size: 36%;
            }
        }
        .sec_game{
            .game_bg{
                background: url(../images/game_bg_01.png) no-repeat 95% 60%;
                background-size: 30%;
            }
        }
        .more_examples{
            .mo_img_wrap{
                height: 100%;
                position: relative;
                overflow: hidden;
                &:hover span{
                    transform: translateX(0);
                }
                &:hover{
                    opacity: 0.9;
                }
                img{
                    width: 100%;
                }
                span{
                    position: absolute;
                    top: 0;
                    right: 100%;
                    text-align: left;
                    background-color: rgba(0,0,0,.5);
                    height: 100%;
                    width: 100%;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 20px;
                    transition: all .5s;
                    transform: translateX(-100%);
                    display: inline-block;
                    p{
                        margin: 10px;
                        height: 80%;
                        color: #fff;
                        font-size: 12px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }
                }
            }
        }
    }
}

@media (max-width: 767px){
    header{
        .swiper-button-prev{
            background: none;
        }
        .swiper-button-next{
            background: none;
        }
    }
    section{
        .first_game{
            .game_bg{
                background: none;
            }
            .hot_wrap{
                    width: 30px;
                    height: 80px;
                    position: absolute;
                    left: 15px;
                    top: -13px;
                    text-align: center;
                    background: url(../images/hot-icon.png) no-repeat;
                    background-size: 90%;
                > p{
                    font-size: 12px;
                    color: #fff;
                    width: 15px;
                    margin: 1px auto 0 auto;
                    line-height: 24px;
                    text-indent: 0;
                }
            }
        }
        .sec_game{
            .game_bg{
                background: none;
            }
            h1{
                margin-left: 0;
            }
            p{
                margin-left: 0;
            }
            .img_wrap{
                margin-left: 0;
            }
        }
        .more_examples{
            .title{
                margin-left: 15px;
                >p{
                    font-size: 30px;
                }
            }
            .mo_img_wrap{
                height: 100%;
                position: relative;
                overflow: hidden;
                &:hover span{
                    transform: translateX(0);
                }
                &:hover{
                    opacity: 0.9;
                }
                img{
                    width: 100%;
                }
                span{
                    position: absolute;
                    top: 0;
                    right: 100%;
                    text-align: left;
                    background-color: rgba(0,0,0,.5);
                    height: 100%;
                    width: 100%;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: normal;
                    transition: all .5s;
                    transform: translateX(-100%);
                    display: inline-block;
                    p{
                        margin: 10px;
                        height: 80%;
                        color: #fff;
                        font-size: 12px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }
                }
            }
        }
        .md40{
            margin-bottom: 15px;
        }
    }
}